package com.kan.awaits.converter;

import java.math.BigInteger;
import java.util.Date;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import com.kan.awaits.Converter;

public class BigIntegerToDateConverter implements Converter
{
	static Log logger = LogFactory.getLog(BigIntegerToDateConverter.class);

	public Date date;

	public Object convert(Class calzz, Object value)
	{
		logger.debug("RUN ME");
		BigInteger bigInter = (BigInteger) value;
		return new Date(bigInter.longValue());
	}
}